There are several default calculation types that are associated with point types and are included in the CygNet Standard Point Scheme.
For more information, see Alarm Calculation Types.
See the following subsections for details:
Note: The Calculation Parameters are user-provided.
The Deviation alarm uses the Deviation Value (DEVIATION_VAL) calculation. On each update, the system calculates the change in engineering units from the previous value and sets the alarm bit if the change equals or exceeds the threshold. This alarm calculation uses Calculation Parameter 1 only.
The following image shows the area of an Analog Alarm Settings page of a PNT Editor with an enabled High Deviation calculation.
Calculation Parameter
Equation
|
Deviation Value = fabs(Updated Value - Previous Value) |
Example
In this example, the High Deviation bit is set because the absolute change in value (-79.052) is greater than the calcparm value of 25.
|
fabs(212.841 -285.893) = -79.052 |
The Digital alarm uses the Digital Value Equal (DIGITAL_EQUAL) calculation. On each update, if the value matches the state selected by the user, then the alarm bit is set, otherwise it is cleared. This alarm calculation uses Calculation Parameter 1 only.
The following image shows the area of a Digital Alarm Settings page of a PNT Editor with an enabled Digital Alarm calculation.
Calculation Parameter
Example
In this example, the Digital Alarm bit is set because the updated state matches the calcparm state (N).
The High Alarm and High Warning alarms use the Maximum Value (MAX_VALUE) calculation. On each update, the system will check the value and set the alarm bit if it is equal to or more than the threshold. This alarm calculation uses Calculation Parameter 1 only.
The following image shows the area of an Analog Alarm Settings page of a PNT Editor with an enabled High Alarm calculation.
Calculation Parameter
Example
In this example, the High Alarm bit is set because the updated value (165.1762) exceeds the calcparm1 value (150).
The Low Alarm and Low Warning alarms use the Minimum Value (MIN_VALUE) calculation. On each update, the system will check the value and set the alarm bit if it is less than or equal to the setpoint value. This alarm calculation uses Calculation Parameter 1 only.
The following image shows the area of an Analog Alarm Settings page of a PNT Editor with an enabled Low Warning calculation.
Calculation Parameter
Example
In this example, the Low Warning bit is set because the updated value (11.84) is less than the calcparm1 value (12).
The String Alarm has two calculation options: String Filter case-insensitive (STRING_VAL_CI) and String Filter case-sensitive (STRING_VAL_CS). On each update, if the new value matches the calcparm1 comparison string (without regards to case for case-insensitive, and with regards to case for case-sensitive) the alarm bit is set, otherwise it is cleared. This calculation supports wildcards. This alarm calculation uses Calculation Parameter 1 only.
The following image shows the area of a String Alarm Settings page of a PNT Editor with an enabled String Filter (case-insensitive) calculation.
Calculation Parameter
Example
In this example for a STRING_VAL_CI calculation, the String Alarm bit is set because the updated value (Exception) matches the calcparm1 value (regardless of case).
The various Out-of-Range alarms use the Value Range (VALUE_RANGE) calculation. On each update, the system will check the value and set the alarm bit if it is outside the allowed range.
The following image shows the area of an Analog Alarm Settings page of a PNT Editor with an enabled Out-of-Range calculation.
Calculation Parameter
Example
In this example, the Out-of-Range bit is set because the updated value (2) is outside the range defined by calparm1 and calcparm2.